package com.ruoyi.teaching.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 orders
 * 
 * @author ruoyi
 * @date 2025-05-08
 */
public class Orders extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单ID */
    private Long oId;

    /** 顾客名字 */
    @Excel(name = "顾客名字")
    private String cName;

    /** 骑手名字 */
    @Excel(name = "骑手名字")
    private String dName;

    /** 订单价格 */
    @Excel(name = "订单价格")
    private Long oPrices;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private Long oQuantity;

    /** 总价格 */
    @Excel(name = "总价格")
    private Long totalPrice;

    /** 状态 */
    @Excel(name = "状态")
    private String stutas;

    /** 订单地址 */
    @Excel(name = "订单地址")
    private String oAddress;

    /** 起始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "起始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uptime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endtime;

    public void setoId(Long oId) 
    {
        this.oId = oId;
    }

    public Long getoId() 
    {
        return oId;
    }

    public void setcName(String cName) 
    {
        this.cName = cName;
    }

    public String getcName() 
    {
        return cName;
    }

    public void setdName(String dName) 
    {
        this.dName = dName;
    }

    public String getdName() 
    {
        return dName;
    }

    public void setoPrices(Long oPrices) 
    {
        this.oPrices = oPrices;
    }

    public Long getoPrices() 
    {
        return oPrices;
    }

    public void setoQuantity(Long oQuantity) 
    {
        this.oQuantity = oQuantity;
    }

    public Long getoQuantity() 
    {
        return oQuantity;
    }

    public void setTotalPrice(Long totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public Long getTotalPrice() 
    {
        return totalPrice;
    }

    public void setStutas(String stutas) 
    {
        this.stutas = stutas;
    }

    public String getStutas() 
    {
        return stutas;
    }

    public void setoAddress(String oAddress) 
    {
        this.oAddress = oAddress;
    }

    public String getoAddress() 
    {
        return oAddress;
    }

    public void setUptime(Date uptime) 
    {
        this.uptime = uptime;
    }

    public Date getUptime() 
    {
        return uptime;
    }

    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("oId", getoId())
            .append("cName", getcName())
            .append("dName", getdName())
            .append("oPrices", getoPrices())
            .append("oQuantity", getoQuantity())
            .append("totalPrice", getTotalPrice())
            .append("stutas", getStutas())
            .append("oAddress", getoAddress())
            .append("uptime", getUptime())
            .append("endtime", getEndtime())
            .toString();
    }
}
